﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Specialist/SpecialistMaster.master" CodeBehind="ViewOpenedConsultations.aspx.cs" Inherits="MyHealthOnline.Specialist.OpenConsultations" %>
<%@ Register Src="~/Specialist/Consultations.ascx" TagPrefix="uc" TagName="Consultations" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

    Opened Consultations
    <br />

    <asp:UpdatePanel ID="updSearch" runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnSearch" EventName="Click" />
        </Triggers>
        <ContentTemplate>
            Search for a patient: 
            <asp:TextBox ID="txtSearchPatient" runat="server"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Text="Search" 
                onclick="btnSearch_Click" />
            <br />
            <uc:Consultations ID="ucConsultations" runat="server"></uc:Consultations>
        </ContentTemplate>
    </asp:UpdatePanel >
    <br />

</asp:Content>